﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000185 RID: 389
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CBHMHAPCJGF : IMessage<CBHMHAPCJGF>, IMessage, IEquatable<CBHMHAPCJGF>, IDeepCloneable<CBHMHAPCJGF>, IBufferMessage
	{
		// Token: 0x1700051B RID: 1307
		// (get) Token: 0x06001172 RID: 4466 RVA: 0x0003253C File Offset: 0x0003073C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CBHMHAPCJGF> Parser
		{
			get
			{
				return CBHMHAPCJGF._parser;
			}
		}

		// Token: 0x1700051C RID: 1308
		// (get) Token: 0x06001173 RID: 4467 RVA: 0x00032543 File Offset: 0x00030743
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CBHMHAPCJGFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700051D RID: 1309
		// (get) Token: 0x06001174 RID: 4468 RVA: 0x00032555 File Offset: 0x00030755
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CBHMHAPCJGF.Descriptor;
			}
		}

		// Token: 0x06001175 RID: 4469 RVA: 0x0003255C File Offset: 0x0003075C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBHMHAPCJGF()
		{
		}

		// Token: 0x06001176 RID: 4470 RVA: 0x00032564 File Offset: 0x00030764
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBHMHAPCJGF(CBHMHAPCJGF other) : this()
		{
			this.dEKKJGJFOBM_ = other.dEKKJGJFOBM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001177 RID: 4471 RVA: 0x00032589 File Offset: 0x00030789
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CBHMHAPCJGF Clone()
		{
			return new CBHMHAPCJGF(this);
		}

		// Token: 0x1700051E RID: 1310
		// (get) Token: 0x06001178 RID: 4472 RVA: 0x00032591 File Offset: 0x00030791
		// (set) Token: 0x06001179 RID: 4473 RVA: 0x00032599 File Offset: 0x00030799
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DEKKJGJFOBM
		{
			get
			{
				return this.dEKKJGJFOBM_;
			}
			set
			{
				this.dEKKJGJFOBM_ = value;
			}
		}

		// Token: 0x0600117A RID: 4474 RVA: 0x000325A2 File Offset: 0x000307A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CBHMHAPCJGF);
		}

		// Token: 0x0600117B RID: 4475 RVA: 0x000325B0 File Offset: 0x000307B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CBHMHAPCJGF other)
		{
			return other != null && (other == this || (this.DEKKJGJFOBM == other.DEKKJGJFOBM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600117C RID: 4476 RVA: 0x000325E0 File Offset: 0x000307E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DEKKJGJFOBM != 0U)
			{
				num ^= this.DEKKJGJFOBM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600117D RID: 4477 RVA: 0x0003261F File Offset: 0x0003081F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600117E RID: 4478 RVA: 0x00032627 File Offset: 0x00030827
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600117F RID: 4479 RVA: 0x00032630 File Offset: 0x00030830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DEKKJGJFOBM != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.DEKKJGJFOBM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001180 RID: 4480 RVA: 0x00032664 File Offset: 0x00030864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DEKKJGJFOBM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DEKKJGJFOBM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001181 RID: 4481 RVA: 0x000326A2 File Offset: 0x000308A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CBHMHAPCJGF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DEKKJGJFOBM != 0U)
			{
				this.DEKKJGJFOBM = other.DEKKJGJFOBM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001182 RID: 4482 RVA: 0x000326D3 File Offset: 0x000308D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001183 RID: 4483 RVA: 0x000326DC File Offset: 0x000308DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DEKKJGJFOBM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000748 RID: 1864
		private static readonly MessageParser<CBHMHAPCJGF> _parser = new MessageParser<CBHMHAPCJGF>(() => new CBHMHAPCJGF());

		// Token: 0x04000749 RID: 1865
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400074A RID: 1866
		public const int DEKKJGJFOBMFieldNumber = 8;

		// Token: 0x0400074B RID: 1867
		private uint dEKKJGJFOBM_;
	}
}
